import request from '@/utils/request'

const api = '/api/laborTermination2'
export function getLaborTermination2Page(params) {
    return request({
        url: `${api}/page`,
        method: 'get',
        params
    })
}

export function getLaborTermination2ById(id) {
    return request({
        url: `${api}/${id}`,
        method: 'get'
    })
}

export function saveLaborTermination2(data) {
    return request({
        url: `${api}/save`,
        method: 'post',
        data
    })
}

export function deleteLaborTermination2(id) {
    return request({
        url: `${api}/${id}`,
        method: 'delete'
    })
}

export function batchDeleteLaborTermination2(ids) {
    return request({
        url: `${api}/batch`,
        method: 'delete',
        data: ids
    })
} 